/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yunhoo.base.db.dao;

import com.yunhoo.base.model.FinancialProject;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;

/**
 *
 * @author Administrator
 */
public interface FinancialProjectDao {

    public Integer maxCode();

    public void insert(FinancialProject param) throws SQLException;

    public void update(FinancialProject param) throws SQLException;

    public void delete(FinancialProject param) throws SQLException;

    public void deleteById(FinancialProject param) throws SQLException;

    public FinancialProject queryById(FinancialProject param) throws SQLException;

    public List<FinancialProject> queryAll(FinancialProject param) throws SQLException;

    public FinancialProject nameRepeatForInsert(FinancialProject param) throws SQLException;

    public FinancialProject nameRepeatForUpdate(FinancialProject param) throws SQLException;
}
